namespace StaffingSystem.EF
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class Information
    {
        [Key]
        [Column(Order = 0)]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int Expr2 { get; set; }

        [Key]
        [Column(Order = 1)]
        [StringLength(20)]
        public string D_Name { get; set; }

        [Key]
        [Column(Order = 2)]
        [StringLength(50)]
        public string P_Name { get; set; }

        [Key]
        [Column(Order = 3)]
        [StringLength(20)]
        public string Name { get; set; }

        [StringLength(20)]
        public string JobNumber { get; set; }

        [Key]
        [Column(Order = 4)]
        [StringLength(20)]
        public string PassWord { get; set; }

        [Key]
        [Column(Order = 5)]
        public DateTime LastTime { get; set; }

        [Key]
        [Column(Order = 6)]
        [StringLength(11)]
        public string Phone { get; set; }
    }
}
